<template>
    <div id="department-container">
        <div class="dept-top-img" :style="$jspt.getImage('top4.jpg', true)"></div>
        <router-view/>
    </div>
</template>

<script>

export default {
    mounted() {
        let user_dept = this.$store.state.user.dept
        let department = this.$jspt.getDept(this.$store.state.info.depts, user_dept)
        this.$store.state.view.department.group_list = department.groupList
    }
}
</script>

<style lang="scss">
@import "@dept/scss/index.scss";
</style>